package com.hh.common.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
public class NewSystemCityTreeVo implements Serializable {
    private static final long serialVersionUID=1L;

    private Integer id;

    private Integer cityId;

    private Integer parentId;

    private String name;

    @JsonInclude(JsonInclude.Include.NON_EMPTY) //属性为 空（""）[] 或者为 NULL 都不序列化
    private List<NewSystemCityTreeVo> child = new ArrayList<>();
}
